home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / game / cat.swf / scripts / frame_1 / PlaceObject2_24_32 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2003-03-01  |  503 b   |  28 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.cbz))
  3.    {
  4.       _root.yc = true;
  5.       this._y = -51;
  6.       if(this._x == 65)
  7.       {
  8.          _root.xc1 == true;
  9.       }
  10.       else if(this._x == 156)
  11.       {
  12.          _root.xc2 == true;
  13.       }
  14.       else if(this._x == 251)
  15.       {
  16.          _root.xc3 == true;
  17.       }
  18.       else if(this._x == 345)
  19.       {
  20.          _root.xc4 == true;
  21.       }
  22.       else if(this._x == 438)
  23.       {
  24.          _root.xc5 == true;
  25.       }
  26.    }
  27. }
  28.